<div class="row-fluid">
    <div class="span12">
                <div class="span6">
				    <div class="alert alert-block alert-error fade in">
							<a href="#" data-dismiss="alert" class="close">x</a>
							<h4 class="alert-heading">
								Registrar Datos
							</h4>
							<ul>
								<li>
									Registrar Datos.
								</li>
								<li>
									Inscripcion en un curso.
								</li>
								<li>
									Registro del plan de Pagos.
								</li>
							</ul>
							<p>
								<a href="<?php echo $this->Html->url(array('action'=>'nuevo')) ?>" class="btn btn-inverse"><i class="splashy-check"></i> Registrar Alumno</a>
							</p>
				    </div>
                    
                    	</div>
                    <div class="span10">
        <h3 class="heading">Listado de Alumnos</h3>
        <table class="table table-striped table-bordered dTableR" id="dt_a">       
            <thead>
                <tr>                       
                    <th>Nombre</th>
                    <th>Apellido Paterno</th>
                    <th>Apellido Materno</th>                    
                    <th>Acciones</th>     
                </tr>
            </thead>
            <tbody>
                <?php foreach ($alumnos as $a): ?>
                <?php $idAlumno = $a['Alumno']['id']; ?>
                    <tr>                         
                        <td><?php echo $a['Alumno']['nombre']; ?></td>
                        <td><?php echo $a['Alumno']['ap_paterno']; ?></td>
                        <td><?php echo $a['Alumno']['ap_materno']; ?></td>                        
                        <td>
                            <?php echo $this->Html->image("iconos/alumparalelo.png", array("title" => "Alumnos Paralelos",'url' => array('controller'=>'AlumnosParalelos','action'=>'listalumnosparalelos', $idAlumno)));?> 
                            <?php echo $this->Html->image("iconos/plan.png", array("title" => "Plan",'url' => array('action' => 'verplan', $idAlumno)));?> 
                            <?php //echo $this->Html->link('ALUMNOS PARALELOS  -',array('controller'=>'AlumnosParalelos','action'=>'listalumnosparalelos',$idAlumno));?>
                            <?php //echo $this->Html->link('PLAN', array('action'=>'verplan',$idAlumno)); ?>
                        </td>
                    </tr>
                    <?php endforeach; ?>
            </tbody>
        </table>
</div>
    </div>   
</div>
<!-- sidebar -->
<?php echo $this->element('sidebar/alumno'); ?>
<!-- fin sidebar -->
<?php //llamamos scripts tablas ?>
<?php echo $this->element('jstablas'); ?>
